package com.darren.euc.util.light.dto;

import java.util.List;

/**
 * Created by hanji on 2018/3/15.
 */
public class DeviceMsgDTO {
    private String from_role;
    private String command;
    private String result;
    private String from_account;
    private String from_connect_id;
    private List<DevicesListDTO> devices;
    private String msg_type;

    public String getFrom_role() {
        return from_role;
    }

    public void setFrom_role(String from_role) {
        this.from_role = from_role;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getFrom_account() {
        return from_account;
    }

    public void setFrom_account(String from_account) {
        this.from_account = from_account;
    }

    public String getFrom_connect_id() {
        return from_connect_id;
    }

    public void setFrom_connect_id(String from_connect_id) {
        this.from_connect_id = from_connect_id;
    }


    public String getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }

    public List<DevicesListDTO> getDevices() {
        return devices;
    }

    public void setDevices(List<DevicesListDTO> devices) {
        this.devices = devices;
    }

    @Override
    public String toString() {
        return "DeviceMsgDTO{" +
                "from_role='" + from_role + '\'' +
                ", command='" + command + '\'' +
                ", result='" + result + '\'' +
                ", from_account='" + from_account + '\'' +
                ", from_connect_id='" + from_connect_id + '\'' +
                ", devices=" + devices +
                ", msg_type='" + msg_type + '\'' +
                '}';
    }
}
